ngl: Use floorf consistently
authorMatthias Clasen <mclasen@redhat.com>
Fri, 19 Mar 2021 22:58:29 +0000 (18:58 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 21 Mar 2021 20:05:10 +0000 (16:05 -0400)
gsk/ngl/gsknglglyphlibraryprivate.h

index c44068dd5091adf1db1660a37bd7239517e6e46b..8a2b421290fd5b801153acf5edb75ba882b2579b 100644 (file)
@@ -71,7 +71,7 @@ gboolean            gsk_ngl_glyph_library_add (GskNglGlyphLibrary      *self,
 static inline int
 gsk_ngl_glyph_key_phase (float value)
 {
-  return floor (4 * (value + 0.125)) - 4 * floor (value + 0.125);
+  return floorf (4 * (value + 0.125)) - 4 * floorf (value + 0.125);
 }
 
 static inline void